package com.gxy.learn.design.model.create.factory.abstract_factory;

import lombok.extern.slf4j.Slf4j;

/**
 * @author: gaoxueyong
 * @Date: 2022/11/6 21:58
 */
@Slf4j
public abstract class Coffee {

    public abstract String getName();

    public void addSugar() {
        log.info("加糖");
    }

    public void addMilk() {
        log.info("加奶");
    }

}
